/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.unam.aragon.domain;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="alumno")
public class Alumno implements Serializable {
    @Id
    @Column(name = "id")    
    private Long id;

    @Column(name = "nombre", nullable = false)
    private String nombre;

    @Column(name = "apellidoPaterno", nullable = false)
    private String appellidoPaterno;
    

    @Column(name = "apellidoMaterno", nullable = false)
    private String appellidoMaterno;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getAppellidoPaterno() {
        return appellidoPaterno;
    }

    public void setAppellidoPaterno(String appellidoPaterno) {
        this.appellidoPaterno = appellidoPaterno;
    }

    public String getAppellidoMaterno() {
        return appellidoMaterno;
    }

    public void setAppellidoMaterno(String appellidoMaterno) {
        this.appellidoMaterno = appellidoMaterno;
    }
}
